package top.hcode.hoj.pojo.entity.coll;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 信息技术测评活动
 * (itech_collection)表实体类
 *
 * @author orangej
 * @since 2025-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("itech_collection")
public class ItechCollection implements Serializable {

    private static final long serialVersionUID = 8911271340L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String collTitle;

    private Date infoInputStart;

    private Date infoInputEnd;

    private Date examStart;             // 测评开始时间

    private Date examEnd;               // 测评结束时间

    private Integer examMinutes;

    private String schoolList;          // 学校id列表，逗号分隔

    private String teacherList;         // 教师用户名列表，逗号分隔，设置后仅列表中的教师有权查看

    private String gradeList;

    private Boolean randomOrder = false;    // 是否对题目随机排序

    private Integer randomStartNum;     // 需随机排序的开始题目编号，从1开始

    private Integer randomEndNum;       // 需随机排序的结束题目编号

    private Boolean enabled = true;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    /*关联属性*/

}
